package com.swt.gap.model.graphmodel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 请填写说明
 *
 * @author sx
 * @date 2019/9/26 20:30
 */
@ApiModel
@Data
public class RelationshipTemplate {
    private String id;

    @ApiModelProperty(value = "关系type，名称")
    private String type;

    @ApiModelProperty(value = "关系type，根据指定的field的值动态设置")
    private String typeFiled;

//    @ApiModelProperty(value = "主键属性")
//    private String primaryKeyPropertyKey;

    @ApiModelProperty(value = "关系合并方式")
    private RelationshipMergeProperty relationshipMergeProperty;

    @ApiModelProperty(value = "显示在关系上的属性")
    private String displayPropertyKey;

    @ApiModelProperty(value = "时间属性，用来做时序分析")
    private TimeProperty timeProperty;

    @ApiModelProperty(value = "方向")
    private DirectionConfig directionConfig;

    @ApiModelProperty(value = "其他属性")
    private List<Property> properties;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "粗细")
    private String width;

    @ApiModelProperty(value = "本体关系id")
    private Integer ontologyRelationshipId;

}
